#pragma once
#ifndef _VN_SYSTEM_H_
#define _VN_SYSTEM_H_
namespace ne{
class System
{
public:
	static void Notify(const std::string& message, const std::string& caption);
	static void Break();
	static void SetLogFile(const std::string& filename, const std::string& extension);
	static void Log(const std::string& message);
	static void Msg(const std::string& message);
	static unsigned int FileSize(const std::string& filename);
	static bool FileRead(const std::string& filename, void* buffer, int& size);
	static bool FileSave(const std::string& filename, void* buffer, int& size);

protected:
	static std::ofstream m_logfile;
	static std::string m_filename;
};
}
#endif // _VN_SYSTEM_H_